load("@rules_rust//rust:defs.bzl", "rust_library", "rust_test")

rust_library(
    name = "test_vectors",
    srcs = glob(["src/**"]),
    crate_name = "ic_crypto_internal_test_vectors",
    proc_macro_deps = [
        # Keep sorted.
        "@crate_index//:strum_macros",
    ],
    version = "0.9.0",
    visibility = ["//rs/crypto:__subpackages__"],
    deps = [
        # Keep sorted.
        "@crate_index//:hex",
        "@crate_index//:strum",
    ],
)

rust_test(
    name = "test_vectors_test",
    crate = ":test_vectors",
)
